package com.topscomm.mms;

import com.topscomm.basic.BasicSystemConst;

public  class MmsSystemConst extends BasicSystemConst {

	/**
	 * 省区地市表区域级别
	 *
	 * @description:
	 * @author: hudeyong
	 * @date: 2021年6月22日下午9:27:04
	 * @modify:
	 */
	public static class AreaLevelEnum {
		public static String PROVINCE = "0";// 省
		public static String CITY = "1";// 市
		public static String COUNTY = "2";// 县
	}

	/**
	 * 角色管理
	 *
	 * @description:
	 * @author: hudeyong
	 * @date: 2021年6月24日下午16:27:54
	 * @modify:
	 */
	public static class ItemsEnum {
		public static String bspOperators = "bspOperators";// 运营人员
	}
	/**
	 *
	 * @description:产品等级
	 * @author:
	 * @date:
	 * @modify:
	 */
	public static class ProductLevel {
		public static String BigLevel = "1";// 大类产品
		public static String MiddleLevel = "2";// 中类产品
		public static String SmallLevel = "3";// 小类产品
		public static String MiniLevel = "4";// 微类产品
	}
	/**
	 *
	 * @description:产品等级
	 * @author:
	 * @date:
	 * @modify:
	 */
	public static class IsProductLine {
		public static String BigLevel = "1";// 大类产品
		public static String MiddleLevel = "2";// 中类产品
	}
	/**
	  * @description:  部门省市信息管理员角色
	  * @author xinfushuo
	  * @date 2022/2/24
	  * @modify
	  */
	public static String DeptProvinceMatchInfoAdmin = "DeptPCMatchInfoAdmin";
	/**
	  * @description:  可见范围编码
	  * @author xinfushuo
	  * @date 2022/2/24
	  * @modify
	  */
	public static String DeptcommonProvinceViewRange = "DeptcommonProvinceViewRange";
	/**
	  * @description:
	  * @author xinfushuo
	  * @param
	  * @throws
	  * @return
	  * @date 2022/2/24
	  * @modify
	  */
	public static  String DeptcommonProvinceViewAll = "ALL";
	/**
	  * @description:
	  * @author xinfushuo
	  * @param
	  * @throws
	  * @return
	  * @date 2022/3/23
	  * @modify
	  */
	public static class ProvinceCityUseful {
		public static String CURRENT_ENABLED = "1";
		public static String CURRENT_DISABLED = "0";
		public static Boolean isUseful(String useful){
			switch (useful) {
				case "1":
					return true;
				default:
					return  false;
			}
		}
		public  static String flipUseful(String userful){
			return isUseful(userful)?  CURRENT_DISABLED : CURRENT_ENABLED;
		}
	}
	/**
	  * @description:Pms省区地市信息同步时间参数
	  * @author xinfushuo
	  * @return
	  * @date 2022/3/31
	  * @modify
	  */
	public final static  String  PmsProvinceCityUpdateDate = "PmsProvinceCityUpdateDate";
    /**
     * @Description:    意见反馈系统类型数值
     * @Author:         wuyuyang
     * @Return:
     * @exception:
     * @Date:           2022/9/14 14:22
     * @Version:        1.0
     **/
	public static class FeedbackSystem{
		public static  String BSP = "FeedbackBSP";// BSP营销管理平台
		public static  String CDMC = "FeedbackCDMC";// CDMC资料中心
		public static  String MobileApp = "FeedbackMobileApp";//  手机app
	}
}

